<?php

namespace app\api\model;

use think\Model;

class BaseModel extends Model
{
    use \traits\model\SoftDelete;

    // 定义时间戳字段名
    protected $createTime = 'create_time';
    protected $updateTime = 'update_time';

    /**
     * 软件删除
     *
     * @var string
     * @Author YangHB
     * @DateTime 2022-07-12 21:05:32
     *
     */
    protected $deleteTime = "deletetime";


    /**
     * 严格区分大小写
     *
     * @var boolean
     * @Author YangHB
     * @DateTime 2022-07-12 09:43:20
     *
     */
    protected $strict = true;


    /**
     * 开启时间戳自动写入
     *
     * @var boolean
     * @Author YangHB
     * @DateTime 2022-07-12 13:17:11
     *
     */
    protected $autoWriteTimestamp = true;


}